<!doctype html>
<link rel="match" href="../../expected/css/gradient-calc-inside-stop-color-ref.html" />
<style>
    div {
        background-image: linear-gradient(to right, red, rgb(0 calc(100%) 0));
        width: 100px;
        height: 100px;
    }
</style>
<body>
    <div></div>
</body>
